package com.exam.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.demo.entity.Course;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:23
 */

public interface CourseService extends IService<Course> {

    //导出
    HttpServletResponse export(HttpServletResponse response) throws IOException;

    //导入
    boolean imp(MultipartFile file) throws IOException;

    Page<Course> findPage(Page<Object> objectPage, String courseName);
}
